package com.jian8;

/**
 * @author wu
 * @create 2023-02-27-16:54
 */
public class MultiThreadDebug {
    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        Thread thread1 = new Thread(myThread, "1");
        Thread thread2 = new Thread(myThread, "2");
        Thread thread3 = new Thread(myThread, "3");

        thread1.start();
        thread2.start();
        thread3.start();

    }
}
class MyThread implements Runnable{

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName()+"running");
    }
}
